package tgc.edu.examxy.service;

import java.util.List;
import java.util.UUID;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.examxy.custom.CommonService;
import tgc.edu.examxy.entity.TbClass;
import tgc.edu.examxy.entity.VideoCourseware;
import tgc.edu.examxy.repository.VideoCoursewareRepository;
@Service
public class VideoCoursewareService extends CommonService<VideoCourseware, UUID>{
	@Autowired
	private VideoCoursewareRepository dao;
	
	public List<VideoCourseware> findByTbclassAndIsstart(TbClass tbClass, boolean b) {
		
		return dao.findByTbclassAndIsstart(tbClass,b);
	}

}
